#include "QCefOsrClient.h"

QCefOsrClient::QCefOsrClient(QCefApp * app, QCefDelegate* delegate)
    : QCefClient(app, delegate)
{
    QCEF_DEBUG();
}

QCefOsrClient::~QCefOsrClient()
{
    QCEF_DEBUG();
}

//////////////////////////////////////////////////////////////////////////
//CefClient
CefRefPtr<CefRenderHandler> QCefOsrClient::GetRenderHandler()
{
    QCEF_DEBUG();

    //Osr模式下，需要实现CefRenderHandler接口
    return this;
}
